<link type="text/css" rel="stylesheet" href="http://www.12301.cc/tpl/publish_coupons/css/publish_coupons.css" />
<link rel="stylesheet" href="http://www.12301.cc/css/common/www.12301.cc.global.css"/>
<script type="text/javascript" src="http://www.12301.cc/js/global/www.12301.cc.global.js"></script>
<div class="publish_manage">
	<ul id="tabHead" class="tabHead clearfix">
        <li class="profit">优惠券管理</li>
    </ul>
	<div class="formIn">
		<input type="text" class="formInp" value="">
		<span class="formInp_btn">搜索</span>
	</div>
	<span class="line"></span>
	<div class="pub_man">
		<div class="pub_top">
			<div class="pub_top_left">
				<a href="javascript:void(0);" class="pub_normal nou">正常</a>
				<a href="javascript:void(0);" class="pub_history">历史记录</a>
			</div>
			<div class="pub_top_right">
				<i class="iconfont pub_icon">&#xe647;</i>
				<a href="javascript:void(0);" class="pub_publish">发布优惠券</a>
			</div>
			<table class="tbCount setMT_20 "  border="0" cellpadding="0" cellspacing="0">
                <thead >
                  <tr>
                    <th class="setname">优惠券名称</th>
                    <th class="setmoney">面额</th>
                    <th class="settype">发行方式</th>
                    <th class="setAlign">使用渠道</th>
                    <th class="settime">有限期限</th>
                    <th class="setdo">操作</th>
                    
                  </tr>
                </thead>
                <tbody class="tbody" id="tab">
                  <tr class="setbg_a">
                    <td class="setname">满100减10元</td>
                    <td class="setmoney">&yen;5</td>
                    <td class="settype">卖家派发</td>
                    <td class="setAlign">不限</td>
                    <td class="settime">2015/9/12至2015/9/15</td>
                    <td class="setdo">
						<span class="edit">编辑</span>
						<span class="user">适用产品</span>
						<span class="console_l">领券情况</span>
						<span class="del">作废</span>
					</td>
                  </tr>
                 <tr class="setbg_a">
                    <td class="setname">满100减10元</td>
                    <td class="setmoney">&yen;5</td>
                    <td class="settype">卖家派发</td>
                    <td class="setAlign">不限</td>
                    <td class="settime">2015/9/12至2015/9/15</td>
                    <td class="setdo">
						<span class="edit">编辑</span>
						<span class="user">适用产品</span>
						<span class="console_l">领券情况</span>
						<span class="del">作废</span>
					</td>
                  </tr>
				  <tr class="setbg_a">
                    <td class="setname">满100减10元</td>
                    <td class="setmoney">&yen;5</td>
                    <td class="settype">卖家派发</td>
                    <td class="setAlign">不限</td>
                    <td class="settime">2015/9/12至2015/9/15</td>
                    <td class="setdo">
						<span class="edit">编辑</span>
						<span class="user">适用产品</span>
						<span class="console_l">领券情况</span>
						<span class="del">作废</span>
					</td>
                  </tr>
				  
                </tbody>
            </table>
		</div>
	
	
	
	
	
	
	






 

	</div>

</div>
<script>
$(".pub_history").click(function(){
	$(this).addClass("nou");
	$(".pub_normal").removeClass("nou");
})
$(".pub_normal").click(function(){
	$(this).addClass("nou");
	$(".pub_history").removeClass("nou");
})
function setTrBgColor(tableid,color1,color2){
    var tab=document.getElementById(tableid);
    for(var i=0;i<tab.rows.length;i++){
        tab.rows[i].style.backgroundColor=(i%2==0)?color1:color2;
    }
}
window.onload=function(){
    setTrBgColor("tab","#FFFFFF;","#F7F7F7");
}
</script>
<script type="text/javascript" src="http://www.12301.cc/tpl/prod_sale/js/class.js"></script>
<script type="text/javascript" src="http://wx.12301.cc/public/js/common/ajax.js"></script>
<script type="text/javascript" src="http://www.12301.cc/tpl/publish_coupons/js/publish_manage.js"></script>
